lib: Exclude soup header from introspection
authorColin Walters <walters@verbum.org>
Mon, 13 Mar 2017 01:04:51 +0000 (21:04 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 13 Mar 2017 15:20:45 +0000 (15:20 +0000)
We should fix this more reliably by defining a separate variable for
introspection (and gtk-doc) sources at some point, but this does the trick for
now.

Avoids a spam of warnings, and it's definitely not public API.

Closes: #734
Approved by: jlebon

Makefile-libostree.am

index 901208a2ab7ee4dd8dc584931c265e176ce4be1e..15711dc9e96727c18f7df918c95093d0ff379be6 100644 (file)
@@ -209,7 +209,7 @@ OSTree_1_0_gir_INCLUDES = Gio-2.0
 OSTree_1_0_gir_CFLAGS = $(libostree_1_la_CFLAGS)
 OSTree_1_0_gir_LIBS = libostree-1.la
 OSTree_1_0_gir_SCANNERFLAGS = --warn-all --identifier-prefix=Ostree --symbol-prefix=ostree
-OSTree_1_0_gir_FILES = $(libostreeinclude_HEADERS) $(filter-out %-private.h,$(libostree_1_la_SOURCES))
+OSTree_1_0_gir_FILES = $(libostreeinclude_HEADERS) $(filter-out %-private.h %/ostree-soup-uri.h,$(libostree_1_la_SOURCES))
 INTROSPECTION_GIRS += OSTree-1.0.gir
 gir_DATA += OSTree-1.0.gir
 typelib_DATA += OSTree-1.0.typelib